package com.dayaokeji.rhythmschoolstudent.client.common.exam;

import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.widget.Toolbar;

import com.dayaokeji.rhythmschoolstudent.R;
import com.dayaokeji.rhythmschoolstudent.client.common.base.common.BaseActivity;
import com.dayaokeji.rhythmschoolstudent.utils.ToastUtils;
import com.dayaokeji.server_api.domain.Exam;

import butterknife.BindView;

/**
 * 查看考试成绩
 */
public class TestResultActivity extends BaseActivity {

    public static final String EXTA_EXAM_ENTITY = "exam_entity";

    @BindView(R.id.toolbar)
    Toolbar toolbar;

    private Exam exam;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_result);
        setSupportActionBar(toolbar);

        exam = (Exam) getIntent().getSerializableExtra(EXTA_EXAM_ENTITY);
        if (exam == null) {
            ToastUtils.warning(R.string.data_incorrect);
            return;
        }

        init();
    }

    private void init() {

    }


}
